﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace TV_2013.View.Feature3
{
    public partial class ViewFeatureThree : PhoneApplicationPage
    {
        public ViewFeatureThree()
        {
            InitializeComponent();
        }

        private void btnLv1_Click(object sender, RoutedEventArgs e)
        {
            //truyen hai tham so la so luong chu va id cua bai
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=1&n=5";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv2_Click(object sender, RoutedEventArgs e)
        {
            //truyen hai tham so la so luong chu va id cua bai
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=2&n=7";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv3_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=3&n=7";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv4_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=4&n=9";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv5_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=5&n=10";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv6_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=6&n=9";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv7_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=7&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv8_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=8&n=7";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv9_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=9&n=9";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv10_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=10&n=8";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv11_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=11&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv12_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=12&n=12";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv13_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=13&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv14_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=14&n=8";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv15_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=15&n=10";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv16_Click(object sender, RoutedEventArgs e)
        {

            string link = "/View/Feature3/Practice/PracticeView.xaml?id=16&n=9";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv17_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=17&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv18_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=18&n=15";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv19_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=19&n=14";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv20_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=20&n=9";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv21_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=21&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv22_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=22&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv23_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=23&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }

        private void btnLv24_Click(object sender, RoutedEventArgs e)
        {
            string link = "/View/Feature3/Practice/PracticeView.xaml?id=24&n=11";

            NavigationService.Navigate(new Uri(link, UriKind.RelativeOrAbsolute));
        }
    }
}